import request from '@/utils/request'

// 查询收费信息列表
export function listApartmentFees(query) {
  return request({
    url: '/business/apartmentFees/list',
    method: 'get',
    params: query
  })
}

// 查询收费信息详细
export function getApartmentFees(id) {
  return request({
    url: '/business/apartmentFees/' + id,
    method: 'get'
  })
}

// 新增收费信息
export function addApartmentFees(data) {
  return request({
    url: '/business/apartmentFees',
    method: 'post',
    data: data
  })
}

// 修改收费信息
export function updateApartmentFees(data) {
  return request({
    url: '/business/apartmentFees',
    method: 'put',
    data: data
  })
}

// 删除收费信息
export function delApartmentFees(id) {
  return request({
    url: '/business/apartmentFees/' + id,
    method: 'delete'
  })
}
